-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
📊 rework regions dataset to have unique indexes #1282
Conversation
The regions dataset contains many join tables with one-to-many relationships. In our current strict dimensions model, we have two options: - Give them an integer index, or - Put every column in the index This change does the latter. It's also meant to trigger discussion about what we want in general here.
I think that having a table like |
Hey @larsyencken I've removed all tables except for the
|
Thanks Pablo! |
…e individual tables in harmonize tool
…vidual tables in geo function
…e individual tables in owid_co2 dataset
…tables in fasttrack
Hi @larsyencken I think this PR is ready to be merged. I've removed all tables from the regions dataset except the combined |
Good work!!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, it looks good. However, changing regions triggers a huge ETL rebuild, so please merge it at the end of your workday to avoid disrupting others' work.
The regions dataset contains many join tables with one-to-many relationships. In our current strict dimensions model, we have two options:
This change does the latter. It's also meant to trigger discussion about what we want in general here.